<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

Route::get('hello', function () {
    return 'hello,ThinkPHP5!';
});


return [
    'pet' => ['pet/index', ['method' => 'get', 'ext' => 'html'], ['id' => '\d+'],],
    'login' => ['login/index', ['method' => 'get', 'ext' => 'html'], ['id' => '\d+']],
    'member' => ['member/index', ['method' => 'get', 'ext' => 'html'], ['id' => '\d+']],


    'map' => ['about/map', ['method' => 'get', 'ext' => 'html']],
    'about/contact' => ['about/contact', ['method' => 'get', 'ext' => 'html']],
    'about/:action' => ['about/index', ['method' => 'get', 'ext' => 'html'], ['action' => '\w+']],

    'subsidiary/:action' => ['subsidiary/index', ['method' => 'get', 'ext' => 'html'], ['action' => '\w+']],

    'honor/detail/id/:id' => ['article/honor', ['method' => 'get', 'ext' => 'html'], ['id' => '\d+']],
    'honor/:action' => ['about/honor', ['method' => 'get', 'ext' => 'html'], ['action' => '\w+']],
    'honor/' => ['about/honor', ['method' => 'get', 'ext' => 'html'], ['action' => '\w+']],
    'honors/' => ['article/honors', ['method' => 'get', 'ext' => 'html']],

    'product/' => ['article/product', ['method' => 'get', 'ext' => 'html']],
    'news/' => ['article/news', ['method' => 'get', 'ext' => 'html']],

    'technology/detail/id/:id' => ['Article/technology_detail', ['method' => 'get', 'ext' => 'html'], ['id' => '\d+']],
    'technology/:id' => ['Article/technology', ['method' => 'get', 'ext' => 'html'], ['id' => '\w+']],
    'technology' => ['Article/technology', ['method' => 'get', 'ext' => 'html']],
    '/' => ['index/index', ['method' => 'get', 'ext' => 'html'], ['action' => '\w+']],
];
